function ZengFn(){
	this.baoming = document.getElementById('baoming');
	this.box = document.getElementById('baomingbox');
	this.ps = this.box.getElementsByTagName('p')
}
ZengFn.prototype.init = function(){
	var that = this;
	this.baoming.onmouseover = function(){
		for (var i = 0; i < that.ps.length; i++) {
			that.ps[i].style.marginLeft = "10px";
		}
			that.box.style.width = "200px";
			that.box.style.transition = "all 2s";
	}
	this.baoming.onmouseout = function(){
		for (var i = 0; i < that.ps.length; i++) {
		}
			that.box.style.width = "0px";
			that.box.style.transition = "all 2s";
	}
}
var kuan = new ZengFn();
	kuan.init();